package com.hxhy.service;

import com.hxhy.bean.BElectronic;
import com.hxhy.bean.ElectronicException;

public interface InvoiceService {

	/**
	 * @初始化必要信息
	 */
	void init();
	
	/**
	 * @开具蓝字发票
	 */
	BElectronic kpInvoice(BElectronic be) throws ElectronicException;

	/**
	 * @开具红字发票
	 */
	BElectronic hpInvoice(BElectronic be) throws ElectronicException;

	/**
	 * @发票作废
	 */
	BElectronic zfInvoice(BElectronic be) throws ElectronicException;

	/**
	 * @发票重新推送
	 */
	BElectronic sendInvoice(BElectronic be) throws ElectronicException;

	/**
	 * @发票开具结过查询入库(内部使用)
	 */
	void searchInvoice();

	/**
	 * @自动开票(内部使用)
	 */
	void kp();

}
